package com.kevinwu;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

@SpringBootApplication
public class WebDemoApplication {

    public static void main(String[] args) throws Exception{
        SpringApplication.run(WebDemoApplication.class, args);

    }


    @Configuration
    @PropertySource("classpath:/application.properties")
    @ComponentScan("com.kevinwu.service")
    @EnableDubbo
    static class ConsumerConfiguration {

    }
}
